//package com.mcc.myapplication
//
//import android.os.Bundle
//import android.util.Log
//import android.view.View
//import android.widget.TextView
//import androidx.activity.ComponentActivity
//import androidx.activity.compose.setContent
//import androidx.compose.foundation.layout.fillMaxSize
//import androidx.compose.material3.MaterialTheme
//import androidx.compose.material3.Surface
//import androidx.compose.material3.Text
//import androidx.compose.runtime.Composable
//import androidx.compose.ui.Modifier
//import androidx.compose.ui.tooling.preview.Preview
//import com.mcc.myapplication.ui.theme.AndroidAppccTheme
//
//class MainActivity9 : ComponentActivity() {
//    override fun onCreate(savedInstanceState: Bundle?) {
//        super.onCreate(savedInstanceState)
//        super.setContentView(R.layout.activity_main)
//        setContent() {
//            AndroidAppccTheme() {
//                // A surface container using the 'background' color from the theme
//                Surface(
//                    modifier = Modifier.fillMaxSize(),
//                    color = MaterialTheme.colorScheme.background
//                ) {
//                    Greeting("Android")
//                }
//            }
//        }
//        Log.d("MainActivity", "Hello World");
//    }
//
//    private var mShowCount: TextView? = null
//    private var mCount = 0
//
//    fun showToast(view: View) {
//        mShowCount = findViewById (R.id.show_count);
//    }
//
//    fun countUp(view: View) {
//        mCount++;
//        mShowCount?.setText(Integer.toString(mCount));
//    }
//}
//
//@Composable
//fun Greeting(name: String, modifier: Modifier = Modifier) {
//    Text(
//        text = "Hello $name!",
//        modifier = modifier
//    )
//}
//
//@Preview(showBackground = true)
//@Composable
//fun GreetingPreview() {
//    AndroidAppccTheme() {
//        Greeting("Android")
//    }
//}